<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<style>
	.pageFormContent label
	{
		float: none;
	}
</style>
<h2 class="contentTitle">管理员添加</h2>
<div class="pageContent">
	<form method="post" action="${rootpath }/back/admins/adminsInsertSubmit.html"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this)">
		<div class="pageFormContent nowrap" layoutH="97">
			<dl>
				<dt>邮箱：</dt>
				<dd>
					<input type="text" name="email" class="required email" size="50"
						placeholder="请输入您的电子邮件" value="${requestScope.admins.email }"/>
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>密码：</dt>
				<dd>
					<input id="password" type="password" name="password" size="50"
						class="required alphanumeric" minlength="6" maxlength="20"
						placeholder="字母、数字、下划线 6-20位" />
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>确认密码：</dt>
				<dd>
					<input type="password" name="repassword" class="required" size="50"
						equalto="#password" placeholder="字母、数字、下划线 6-20位"/>
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>姓名：</dt>
				<dd>
					<input type="text" name="trueName" class="required" placeholder="请输入您的姓名"  size="50"
					 value="${requestScope.admins.trueName }"/>
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>手机：</dt>
				<dd>
					<input type="text" name="phone" class="required phone" placeholder="请输入您的手机号码"  size="50"
					value="${requestScope.admins.phone }"/>
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>qq：</dt>
				<dd>
					<input type="text" name="qq" placeholder="请输入您的qq" class="required" size="50"
					value="${requestScope.admins.qq }"/>
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>状态：</dt>
				<dd>
					<input type="radio" id="statusAdminsInsert1" name="status" value="1" checked="checked">
					<label for="statusAdminsInsert1">启用</label>
					<input type="radio" id="statusAdminsInsert0" name="status" value="0">
					<label for="statusAdminsInsert0">禁用</label>
					<span class="info"></span>
				</dd>
			</dl>
			<div class="divider"></div>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>